package org.tourism.service;

import org.tourism.entity.DiningEntertainment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuling
 * @since 2024-07-05
 */
public interface DiningEntertainmentService extends IService<DiningEntertainment> {

    //返回值为int类型的函数，返回1时代表插入成功，0代表失败
    int insertEntertainment(DiningEntertainment entertainment);

    int updateEntertainment(DiningEntertainment entertainment);

    int deleteEntertainment(DiningEntertainment entertainment);

    DiningEntertainment getEntertainment(int id);

    List<DiningEntertainment> getAllEntertainment();
}
